package cn.zbh.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.zbh.basic.domain.BasicDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop extends BasicDomain {

   @Excel(name = "店铺名",width = 20)
   private String name;
   @Excel(name = "店铺电话",width = 20)
   private String tel;
   @Excel(name = "店铺创建时间",width = 30,exportFormat="yyyy-MM-dd")
   private Date registerTime=new Date();
   @Excel(name = "店铺状态",width = 20)
   private Integer state=1;
   @Excel(name = "店铺地址",width = 20)
   private String  address;
   @Excel(name = "店铺logo",width = 20)
   private String logo;
   @Excel(name = "店铺员工id",width = 20)
   private Long admin_id;
   private Employee admin;

}
